#include "ti_msp_dl_config.h"
#include "stdio.h"
#include "string.h"
int fputc(int c, FILE* stream)
{
	while( DL_UART_isBusy(K230_Com_INST) == true );
	DL_UART_Main_transmitDataBlocking(K230_Com_INST, c);
	return c;
}

int fputs(const char* restrict s, FILE* restrict stream)
{
	uint16_t i,len;
	len = strlen(s);
	for(i=0;i<len;i++)
	{
		DL_UART_Main_transmitDataBlocking(K230_Com_INST,s[i]);
	}
	return len;
}

int puts(const char *_ptr)
{
	int count = fputs(_ptr,stdout);
	count += fputs("\n",stdout);
	return count;
}
